﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using QLTV_Public;
using QLTV_Data;

namespace QLTV_BLL
{
   public class DonVi_BLL
   {
       DonVi_Data donVi = new DonVi_Data();
       public DataTable TaoBang(string sql)
       {
           return donVi.TaoBang(sql);
       }
       public DataTable LayDuLieu()
       {
           return donVi.LayDuLieu();
       }
       public int Insert(DonVi_Public maDonVi, DonVi_Public tenDonVi, DonVi_Public ghiChu)
       {

           return donVi.Insert(maDonVi,tenDonVi,ghiChu);

       }
       public int Update(DonVi_Public maDonVi, DonVi_Public tenDonVi, DonVi_Public ghiChu)
       {
           
           return donVi.Update(maDonVi, tenDonVi, ghiChu);

       }
       public int Delete(DonVi_Public maDonVi)
       {
           return donVi.Delete(maDonVi);
       }
    }
}
